package com.link2room.enums.exception;

import com.link2room.common.constant.BaseConstant;
import com.link2room.common.enums.DefaultSysExceptionInterface;

/**
 * Created by sss on 2016/8/11.
 */
public enum OptimusSysExceptionEnum implements DefaultSysExceptionInterface{
    /****OPTIMUS**********OPTIMUS********************OPTIMUS**********OPTIMUS****/
    RMNUM_LESS(1401,"可订房量不足", BaseConstant.SysExceptionConstant.BIZ_TYPE.OPTIMUS),
    MC_CODE_EXIT(1402,"活动代码已存在", BaseConstant.SysExceptionConstant.BIZ_TYPE.OPTIMUS),
    MC_IS_NOT_EXIT(1403,"活动未找到", BaseConstant.SysExceptionConstant.BIZ_TYPE.OPTIMUS),
    MCD_IS_NOT_EXIT(1404,"活动产品未找到", BaseConstant.SysExceptionConstant.BIZ_TYPE.OPTIMUS),
    PAYTYPE_NOT_EXIT(1405,"支付类型未找到", BaseConstant.SysExceptionConstant.BIZ_TYPE.OPTIMUS),
    ;

    private OptimusSysExceptionEnum(int code, String msg, String bizType){
        this.code=code;
        this.msg=msg;
        this.bizType=bizType;
    }

    private int code;

    private String msg;

    private String bizType;

    @Override
    public int getCode() {
        return code;
    }
    @Override
    public void setCode(int code) {
        this.code = code;
    }
    @Override
    public String getMsg() {
        return msg;
    }
    @Override
    public void setMsg(String msg) {
        this.msg = msg;
    }
    @Override
    public String getBizType() {
        return bizType;
    }
    @Override
    public void setBizType(String bizType) {
        this.bizType = bizType;
    }
}
